package com.mall.system.mapper;

import com.mall.common.domain.MallUser;
import org.apache.ibatis.annotations.Param;

/**
 * @author wangy
 */
public interface UserMapper {
    /**
     *
     * @param phone
     * @return
     */
    MallUser findUserByPhone(@Param("phone") String phone);

    MallUser findUserById(@Param("id") Integer id);
}
